/*
 * Copyright (c) 2025 404
 * Licensed under the MIT License.
 * See LICENSE file in the project root for license information.
 *
 */

body {
    font-family: Consolas, monospace;
    background-color: #f8f9fa;
    color: #333;
    margin: 20px;
}
#directoryForm {
    margin-bottom: 20px;
}
input[type="text"] {
    padding: 8px;
    width: 400px;
}
button {
    padding: 8px 16px;
    cursor: pointer;
}
.tree {
    font-size: 14px;
    line-height: 1.6;
    user-select: none;
}
ul {
    list-style-type: none;
    margin: 0;
    padding-left: 20px;
    border-left: 1px dotted #ccc;
}
li {
    margin: 4px 0;
}
.collapsed > ul {
    display: none;
}

.heat-updated {
    transition: color 0.3s ease;
    color: #ff5c5c;
}

.plugin-hub {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

.plugin-hub__nav {
    width: 220px;
    background-color: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.plugin-nav__title {
    font-weight: bold;
    margin: 0;
    font-size: 14px;
}

.plugin-nav__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.plugin-nav__btn {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #d0d7de;
    border-radius: 6px;
    background-color: #f5f7fa;
    cursor: pointer;
    text-align: left;
    font-size: 13px;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.plugin-nav__btn:hover {
    background-color: #e6f0ff;
    border-color: #7da6ff;
}

.plugin-nav__btn--active {
    background-color: #2b7cff;
    color: #fff;
    border-color: #2b7cff;
}

.plugin-hub__content {
    flex: 1;
    background-color: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 8px;
    min-height: 260px;
    padding: 16px;
    position: relative;
}

.plugin-placeholder {
    margin: 0;
    color: #8c8c8c;
    text-align: center;
    font-size: 14px;
    padding: 24px 0;
}